<div class="punished" id="punished_user">

	Наказать <?php echo $model->first_name .' '. $model->last_name?> ?
	<?php echo CHtml::link('Да', 'javascript: void(0);', array('onclick'=>'punished();'))?>

</div><!-- form -->

<script type='text/javascript'>
	/* <![CDATA[ */
	
		function punished(transport){
			jQuery.ajax({
				'success':function(transport){ if(transport) {alert(transport); $('#punished_user').remove();} },
				'type':'POST',
				'url':'/user/punished',
				'cache': false,
				'data': 'u='+'<?php echo $model->personal_key?>'
				});
			return false;
		}	
	
	/* ]]> */
</script>